import request from '@/utils/request'

export function getTechnicianTimeListByPage(data) {
  return request.get('/technicianTime/list', { params: data })
}

export function getTechnicianTimes(data) {
  return request.post('/getTechnicianTimes', data)
}

export function addTechnicianTime(data) {
  return request.post('/technicianTime', data)
}

export function updateTechnicianTime(data) {
  return request.put('/technicianTime', data)
}

export function deleteTechnicianTime(id) {
  return request.delete('/technicianTime/' + id, id)
}
